import request from "@/router/axios";
import { baseUrl } from "@/config/env";
// 查询音乐多语言列表
export function listBasicauthor(query) {
  return request({
    url: baseUrl + "/api/facility/statistics",
    method: "get",
    params: query,
  });
}

// 查询音乐多语言详细
export function getBasicauthor(audioLanguageId) {
  return request({
    url: baseUrl + "/business/basicaudiolanguage/" + audioLanguageId,
    method: "get",
  });
}

// 新增音乐多语言
export function addBasicauthor(data) {
  return request({
    url: baseUrl + "/business/basicaudiolanguage",
    method: "post",
    data: data,
  });
}

// 修改音乐多语言
export function updateBasicauthor(data) {
  return request({
    url: baseUrl + "/business/basicaudiolanguage",
    method: "put",
    data: data,
  });
}

// 删除音乐多语言
export function delBasicauthor(audioLanguageId) {
  return request({
    url: baseUrl + "/business/basicaudiolanguage/" + audioLanguageId,
    method: "delete",
  });
}
